package com.demo.road.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;


@Component
public interface FeeDao {

    Long getTotalCount(Map<String, Object> paramMap);

    List<Map<String, Object>> getMapListByParam(Map<String, Object> paramMap);

    List<Map<String, Object>> getMapListByParam2(Map<String, Object> paramMap);

    void addItem(Map param);

    void updateItem(Map param);

    Map getItemByParam(Map param);

    void deleteItemsByParam(@Param("table")String table,@Param("ids") List<String>ids);

    Map getById(@Param("id") String id);



    List<Map> getAllCommit();


    Map checkBlackList(@Param("serial") String serial);
}

